package com.gkoudai.open.platform.entry;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.io.Serializable;
import java.util.List;

/**
 * @author : Amater
 * @date : 2024/10/28 16:52
 */
@Data
@ConfigurationProperties(prefix = "openplatform")
public class Property implements Serializable {
    private String token;
    private List<String> quoteParams;
    private List<String> futuresQuoteParams;
    private List<String> stockQuoteParams;
    private List<String> mark;
    private Boolean enableQuote=Boolean.TRUE;
    private Boolean enableNews=Boolean.TRUE;
    private Boolean enableSocket = Boolean.TRUE;
    private Boolean enableFuturesQuote=Boolean.TRUE;
    private Integer socketConnectTimeoutMills = 10000;
    private Integer socketReadTimeoutMills = 10000;
    private Integer socketWriteTimeoutMills = 10000;
    private Integer httpResponseTimeoutMills = 10000;
    private Integer socketReconnectionIntervalMills = 5000;
}
